﻿// Decompiled with JetBrains decompiler
// Type: Terraria.Recipe
// Assembly: Terraria, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null
// MVID: FF258283-FE37-4E8A-A035-CB1E6DC74C3C
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe

namespace Terraria
{
  public class Recipe
  {
    public static int maxRequirements = 15;
    public static int maxRecipes = 400;
    public static int numRecipes = 0;
    private static Recipe newRecipe = new Recipe();
    public Item createItem = new Item();
    public Item[] requiredItem = new Item[Recipe.maxRequirements];
    public int[] requiredTile = new int[Recipe.maxRequirements];
    public bool needWater;

    public Recipe()
    {
      for (int index = 0; index < Recipe.maxRequirements; ++index)
      {
        this.requiredItem[index] = new Item();
        this.requiredTile[index] = -1;
      }
    }

    public void Create()
    {
      for (int index1 = 0; index1 < Recipe.maxRequirements && this.requiredItem[index1].type != 0; ++index1)
      {
        int num = this.requiredItem[index1].stack;
        for (int index2 = 0; index2 < 48; ++index2)
        {
          if (Main.player[Main.myPlayer].inventory[index2].IsTheSameAs(this.requiredItem[index1]))
          {
            if (Main.player[Main.myPlayer].inventory[index2].stack > num)
            {
              Main.player[Main.myPlayer].inventory[index2].stack -= num;
              num = 0;
            }
            else
            {
              num -= Main.player[Main.myPlayer].inventory[index2].stack;
              Main.player[Main.myPlayer].inventory[index2] = new Item();
            }
          }
          if (num <= 0)
            break;
        }
      }
      Recipe.FindRecipes();
    }

    public static void FindRecipes()
    {
      int num1 = Main.availableRecipe[Main.focusRecipe];
      float num2 = Main.availableRecipeY[Main.focusRecipe];
      for (int index = 0; index < Recipe.maxRecipes; ++index)
        Main.availableRecipe[index] = 0;
      Main.numAvailableRecipes = 0;
      for (int index1 = 0; index1 < Recipe.maxRecipes && Main.recipe[index1].createItem.type != 0; ++index1)
      {
        bool flag1 = true;
        bool flag2 = false;
        if (Main.guideItem.type > 0 && Main.guideItem.stack > 0 && Main.guideItem.name != "")
          flag2 = true;
        if (flag2)
        {
          for (int index2 = 0; index2 < Recipe.maxRequirements && Main.recipe[index1].requiredItem[index2].type != 0; ++index2)
          {
            if (Main.guideItem.IsTheSameAs(Main.recipe[index1].requiredItem[index2]))
            {
              Main.availableRecipe[Main.numAvailableRecipes] = index1;
              ++Main.numAvailableRecipes;
              break;
            }
          }
        }
        else
        {
          for (int index3 = 0; index3 < Recipe.maxRequirements && Main.recipe[index1].requiredItem[index3].type != 0; ++index3)
          {
            int stack = Main.recipe[index1].requiredItem[index3].stack;
            for (int index4 = 0; index4 < 48; ++index4)
            {
              if (Main.player[Main.myPlayer].inventory[index4].IsTheSameAs(Main.recipe[index1].requiredItem[index3]))
                stack -= Main.player[Main.myPlayer].inventory[index4].stack;
              if (stack <= 0)
                break;
            }
            if (stack > 0)
            {
              flag1 = false;
              break;
            }
          }
          if (flag1)
          {
            bool flag3 = true;
            for (int index5 = 0; index5 < Recipe.maxRequirements && Main.recipe[index1].requiredTile[index5] != -1; ++index5)
            {
              if (!Main.player[Main.myPlayer].adjTile[Main.recipe[index1].requiredTile[index5]])
              {
                flag3 = false;
                break;
              }
            }
            if (flag3 && (!Main.recipe[index1].needWater || Main.recipe[index1].needWater == Main.player[Main.myPlayer].adjWater))
            {
              Main.availableRecipe[Main.numAvailableRecipes] = index1;
              ++Main.numAvailableRecipes;
            }
          }
        }
      }
      for (int index = 0; index < Main.numAvailableRecipes; ++index)
      {
        if (num1 == Main.availableRecipe[index])
        {
          Main.focusRecipe = index;
          break;
        }
      }
      if (Main.focusRecipe >= Main.numAvailableRecipes)
        Main.focusRecipe = Main.numAvailableRecipes - 1;
      if (Main.focusRecipe < 0)
        Main.focusRecipe = 0;
      float num3 = Main.availableRecipeY[Main.focusRecipe] - num2;
      for (int index = 0; index < Recipe.maxRecipes; ++index)
        Main.availableRecipeY[index] -= num3;
    }

    public static void SetupRecipes()
    {
      Recipe.newRecipe.createItem.SetDefaults("Mug");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Glass");
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bowl of Soup");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bowl");
      Recipe.newRecipe.requiredItem[1].SetDefaults("Mushroom");
      Recipe.newRecipe.requiredItem[2].SetDefaults("Goldfish");
      Recipe.newRecipe.requiredTile[0] = 96;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bottle");
      Recipe.newRecipe.createItem.stack = 2;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Glass");
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bottled Water");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bottle");
      Recipe.newRecipe.needWater = true;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(422);
      Recipe.newRecipe.createItem.stack = 5;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bottled Water");
      Recipe.newRecipe.requiredItem[1].SetDefaults(501);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults(369);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(423);
      Recipe.newRecipe.createItem.stack = 5;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bottled Water");
      Recipe.newRecipe.requiredItem[1].SetDefaults(370);
      Recipe.newRecipe.requiredItem[2].SetDefaults(59);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Ale");
      Recipe.newRecipe.requiredItem[0].SetDefaults(351);
      Recipe.newRecipe.requiredTile[0] = 94;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(28);
      Recipe.newRecipe.createItem.stack = 2;
      Recipe.newRecipe.requiredItem[0].SetDefaults(5);
      Recipe.newRecipe.requiredItem[1].SetDefaults(23);
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredItem[2].SetDefaults(31);
      Recipe.newRecipe.requiredItem[2].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Healing Potion");
      Recipe.newRecipe.requiredItem[0].SetDefaults(28);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredItem[1].SetDefaults(183);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Greater Healing Potion");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(501);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredItem[2].SetDefaults(502);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(110);
      Recipe.newRecipe.createItem.stack = 2;
      Recipe.newRecipe.requiredItem[0].SetDefaults(75);
      Recipe.newRecipe.requiredItem[1].SetDefaults(23);
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredItem[2].SetDefaults(31);
      Recipe.newRecipe.requiredItem[2].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mana Potion");
      Recipe.newRecipe.requiredItem[0].SetDefaults(110);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredItem[1].SetDefaults(183);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(226);
      Recipe.newRecipe.requiredItem[0].SetDefaults(28);
      Recipe.newRecipe.requiredItem[1].SetDefaults(110);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(227);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Healing Potion");
      Recipe.newRecipe.requiredItem[1].SetDefaults("Mana Potion");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(288);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(318);
      Recipe.newRecipe.requiredItem[2].SetDefaults(317);
      Recipe.newRecipe.requiredItem[3].SetDefaults("Obsidian");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(289);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Mushroom");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(290);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(315);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Cactus");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(291);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(317);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Coral");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(292);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Iron Ore");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(293);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(314);
      Recipe.newRecipe.requiredItem[2].SetDefaults(313);
      Recipe.newRecipe.requiredItem[3].SetDefaults("Fallen Star");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(294);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(314);
      Recipe.newRecipe.requiredItem[2].SetDefaults(316);
      Recipe.newRecipe.requiredItem[3].SetDefaults("Fallen Star");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(295);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults(315);
      Recipe.newRecipe.requiredItem[3].SetDefaults("Feather");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(296);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(315);
      Recipe.newRecipe.requiredItem[2].SetDefaults(314);
      Recipe.newRecipe.requiredItem[3].SetDefaults("Gold Ore");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(297);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(315);
      Recipe.newRecipe.requiredItem[2].SetDefaults(314);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(298);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Glowing Mushroom");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(299);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults(315);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(300);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(316);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Rotten Chunk");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(301);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(316);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Cactus");
      Recipe.newRecipe.requiredItem[3].SetDefaults("Worm Teeth");
      Recipe.newRecipe.requiredItem[4].SetDefaults("Stinger");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(302);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(317);
      Recipe.newRecipe.requiredItem[2].SetDefaults(319);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(303);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults("Lens");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(304);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(313);
      Recipe.newRecipe.requiredItem[2].SetDefaults(315);
      Recipe.newRecipe.requiredItem[3].SetDefaults(319);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(305);
      Recipe.newRecipe.requiredItem[0].SetDefaults(126);
      Recipe.newRecipe.requiredItem[1].SetDefaults(318);
      Recipe.newRecipe.requiredItem[2].SetDefaults(316);
      Recipe.newRecipe.requiredItem[3].SetDefaults(315);
      Recipe.newRecipe.requiredItem[4].SetDefaults("Feather");
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(40);
      Recipe.newRecipe.createItem.stack = 5;
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].SetDefaults(3);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Flaming Arrow");
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(40);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(8);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Unholy Arrow");
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(40);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(69);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Hellfire Arrow");
      Recipe.newRecipe.createItem.stack = 10;
      Recipe.newRecipe.requiredItem[0].SetDefaults(40);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(175);
      Recipe.newRecipe.requiredItem[2].SetDefaults(8);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(545);
      Recipe.newRecipe.createItem.stack = 15;
      Recipe.newRecipe.requiredItem[0].SetDefaults(40);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredItem[1].SetDefaults(522);
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(516);
      Recipe.newRecipe.createItem.stack = 35;
      Recipe.newRecipe.requiredItem[0].SetDefaults(40);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredItem[1].SetDefaults(501);
      Recipe.newRecipe.requiredItem[1].stack = 6;
      Recipe.newRecipe.requiredItem[2].SetDefaults(526);
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Meteor Shot");
      Recipe.newRecipe.createItem.stack = 25;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Musket Ball");
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredItem[1].SetDefaults(117);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(515);
      Recipe.newRecipe.createItem.stack = 25;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Musket Ball");
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(546);
      Recipe.newRecipe.createItem.stack = 25;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Musket Ball");
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredItem[1].SetDefaults(522);
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults((int) byte.MaxValue);
      Recipe.newRecipe.requiredItem[0].SetDefaults(31);
      Recipe.newRecipe.requiredItem[1].SetDefaults(195);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(67);
      Recipe.newRecipe.createItem.stack = 5;
      Recipe.newRecipe.requiredItem[0].SetDefaults(60);
      Recipe.newRecipe.requiredTile[0] = 13;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(287);
      Recipe.newRecipe.createItem.stack = 20;
      Recipe.newRecipe.requiredItem[0].SetDefaults(279);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(67);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(8);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(23);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(523);
      Recipe.newRecipe.createItem.stack = 33;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 33;
      Recipe.newRecipe.requiredItem[1].SetDefaults(522);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(427);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(177);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(428);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(178);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(429);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(179);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(432);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(180);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(430);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(181);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(431);
      Recipe.newRecipe.createItem.stack = 3;
      Recipe.newRecipe.requiredItem[0].SetDefaults(8);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(182);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Chinese Lantern");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 5;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Torch");
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Tiki Torch");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Torch");
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Lamp Post");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Glass");
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Torch");
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Skull Lantern");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bone");
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Torch");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(235);
      Recipe.newRecipe.requiredItem[0].SetDefaults(166);
      Recipe.newRecipe.requiredItem[1].SetDefaults(23);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(286);
      Recipe.newRecipe.requiredItem[0].SetDefaults(282);
      Recipe.newRecipe.requiredItem[1].SetDefaults(23);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Glass");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults(169);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(392);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Glass");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Clay Pot");
      Recipe.newRecipe.requiredItem[0].SetDefaults(133);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Pink Vase");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Clay Block");
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bowl");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Clay Block");
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gray Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gray Brick Wall");
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Gray Brick");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Red Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(133);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Red Brick Wall");
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Red Brick");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Copper Ore");
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Brick Wall");
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Copper Brick");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Brick Wall");
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silver Brick");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Silver Ore");
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Brick Wall");
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Gold Brick");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Gold Ore");
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Hellstone Brick");
      Recipe.newRecipe.requiredItem[0].SetDefaults(174);
      Recipe.newRecipe.requiredItem[1].SetDefaults(3);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(192);
      Recipe.newRecipe.requiredItem[0].SetDefaults(173);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(330);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(192);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(594);
      Recipe.newRecipe.requiredItem[0].SetDefaults(593);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(595);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(594);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(587);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(586);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(592);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(591);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(412);
      Recipe.newRecipe.requiredItem[0].SetDefaults(408);
      Recipe.newRecipe.requiredItem[1].SetDefaults(409);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(417);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(412);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(413);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[1].SetDefaults(172);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(418);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(413);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(414);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[1].SetDefaults(176);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(419);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(414);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(415);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[1].SetDefaults(364);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(420);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(415);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(416);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[1].SetDefaults(365);
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(421);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(416);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(577);
      Recipe.newRecipe.createItem.stack = 5;
      Recipe.newRecipe.requiredItem[0].SetDefaults(56);
      Recipe.newRecipe.requiredItem[1].SetDefaults(61);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(176);
      Recipe.newRecipe.requiredItem[0].SetDefaults(2);
      Recipe.newRecipe.needWater = true;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(30);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(2);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(26);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(93);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(94);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(25);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(34);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Sign");
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(48);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredItem[1].SetDefaults(22);
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(32);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(36);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(479);
      Recipe.newRecipe.createItem.stack = 4;
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(480);
      Recipe.newRecipe.createItem.stack = 2;
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(498);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bed");
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bookcase");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Book");
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Barrel");
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 9;
      Recipe.newRecipe.requiredItem[1].SetDefaults(22);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Grandfather Clock");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Gold Bar");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Glass");
      Recipe.newRecipe.requiredItem[1].stack = 6;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[2].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Keg");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 14;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Piano");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Bone");
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[1].stack = 15;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Book");
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Loom");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Dresser");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 16;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bench");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 106;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Sawmill");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Iron Chain");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(24);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(196);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(39);
      Recipe.newRecipe.requiredItem[0].SetDefaults(9);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(361);
      Recipe.newRecipe.requiredItem[0].SetDefaults(362);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].SetDefaults(150);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Red Banner");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Green Banner");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Blue Banner");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Yellow Banner");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(247);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults((int) byte.MaxValue);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(248);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults((int) byte.MaxValue);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(249);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults((int) byte.MaxValue);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(240);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(254);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(241);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(254);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(262);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults(178);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 86;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(259);
      Recipe.newRecipe.requiredItem[0].SetDefaults(68);
      Recipe.newRecipe.requiredItem[0].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(252);
      Recipe.newRecipe.requiredItem[0].SetDefaults(259);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(253);
      Recipe.newRecipe.requiredItem[0].SetDefaults(259);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(250);
      Recipe.newRecipe.requiredItem[0].SetDefaults(261);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Bottled Water");
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(33);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredItem[2].SetDefaults(8);
      Recipe.newRecipe.requiredItem[2].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(360);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Stone Block");
      Recipe.newRecipe.requiredItem[0].stack = 100;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].SetDefaults(12);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Pickaxe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Axe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 9;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Hammer");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Broadsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Shortsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Bow");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Chainmail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Watch");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 14;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Copper Chandelier");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults(8);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredItem[2].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].SetDefaults(11);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(35);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(205);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Trash Can");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Bathtub");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 14;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Toilet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cooking Pot");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wood");
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(1);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(10);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 9;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(7);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(4);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(6);
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Iron Bow");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Iron Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Iron Chainmail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Iron Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Iron Chain");
      Recipe.newRecipe.requiredItem[0].SetDefaults(22);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].SetDefaults(14);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Pickaxe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Axe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 9;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Hammer");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Broadsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Shortsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Bow");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Chainmail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Watch");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 14;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Silver Chandelier");
      Recipe.newRecipe.requiredItem[0].SetDefaults(21);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults(8);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredItem[2].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].SetDefaults(13);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Pickaxe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Axe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 9;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Hammer");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(9);
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Broadsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Shortsword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Bow");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Chainmail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Watch");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 14;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Crown");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Ruby");
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Gold Chandelier");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults(8);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredItem[2].SetDefaults(85);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Throne");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Silk");
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Gold Bar");
      Recipe.newRecipe.requiredItem[1].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Candle");
      Recipe.newRecipe.requiredItem[0].SetDefaults(19);
      Recipe.newRecipe.requiredItem[1].SetDefaults(8);
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Candelabra");
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults("Gold Bar");
      Recipe.newRecipe.requiredItem[0].stack = 5;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Torch");
      Recipe.newRecipe.requiredItem[1].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].SetDefaults(56);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(44);
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(45);
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(46);
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Shadow Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredItem[1].SetDefaults(86);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Shadow Scalemail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredItem[1].SetDefaults(86);
      Recipe.newRecipe.requiredItem[1].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Shadow Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(86);
      Recipe.newRecipe.requiredItem[1].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Nightmare Pickaxe");
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(86);
      Recipe.newRecipe.requiredItem[1].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("The Breaker");
      Recipe.newRecipe.requiredItem[0].SetDefaults(57);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(86);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Grappling Hook");
      Recipe.newRecipe.requiredItem[0].SetDefaults(85);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(118);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].SetDefaults(116);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(198);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(177);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(199);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(178);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(200);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(179);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(201);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(181);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(202);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(182);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(203);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(180);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Blue Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(198);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Red Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(199);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Green Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(200);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Purple Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(201);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("White Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(202);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Yellow Phasesaber");
      Recipe.newRecipe.requiredItem[0].SetDefaults(203);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(204);
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults((int) sbyte.MaxValue);
      Recipe.newRecipe.requiredItem[0].SetDefaults(95);
      Recipe.newRecipe.requiredItem[1].SetDefaults(117);
      Recipe.newRecipe.requiredItem[1].stack = 30;
      Recipe.newRecipe.requiredItem[2].SetDefaults(75);
      Recipe.newRecipe.requiredItem[2].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(197);
      Recipe.newRecipe.requiredItem[0].SetDefaults(98);
      Recipe.newRecipe.requiredItem[1].SetDefaults(117);
      Recipe.newRecipe.requiredItem[1].stack = 20;
      Recipe.newRecipe.requiredItem[2].SetDefaults(75);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Meteor Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Meteor Suit");
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Meteor Leggings");
      Recipe.newRecipe.requiredItem[0].SetDefaults(117);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(151);
      Recipe.newRecipe.requiredItem[0].SetDefaults(154);
      Recipe.newRecipe.requiredItem[0].stack = 40;
      Recipe.newRecipe.requiredItem[1].SetDefaults(150);
      Recipe.newRecipe.requiredItem[1].stack = 40;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(152);
      Recipe.newRecipe.requiredItem[0].SetDefaults(154);
      Recipe.newRecipe.requiredItem[0].stack = 60;
      Recipe.newRecipe.requiredItem[1].SetDefaults(150);
      Recipe.newRecipe.requiredItem[1].stack = 50;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(153);
      Recipe.newRecipe.requiredItem[0].SetDefaults(154);
      Recipe.newRecipe.requiredItem[0].stack = 50;
      Recipe.newRecipe.requiredItem[1].SetDefaults(150);
      Recipe.newRecipe.requiredItem[1].stack = 45;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(190);
      Recipe.newRecipe.requiredItem[0].SetDefaults(331);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredItem[1].SetDefaults(209);
      Recipe.newRecipe.requiredItem[1].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(191);
      Recipe.newRecipe.requiredItem[0].SetDefaults(331);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredItem[1].SetDefaults(209);
      Recipe.newRecipe.requiredItem[1].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(185);
      Recipe.newRecipe.requiredItem[0].SetDefaults(84);
      Recipe.newRecipe.requiredItem[1].SetDefaults(331);
      Recipe.newRecipe.requiredItem[1].stack = 12;
      Recipe.newRecipe.requiredItem[2].SetDefaults(210);
      Recipe.newRecipe.requiredItem[2].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(228);
      Recipe.newRecipe.requiredItem[0].SetDefaults(179);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults(177);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredItem[2].SetDefaults(331);
      Recipe.newRecipe.requiredItem[2].stack = 8;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(229);
      Recipe.newRecipe.requiredItem[0].SetDefaults(178);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults(182);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredItem[2].SetDefaults(331);
      Recipe.newRecipe.requiredItem[2].stack = 16;
      Recipe.newRecipe.requiredItem[3].SetDefaults(209);
      Recipe.newRecipe.requiredItem[3].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(230);
      Recipe.newRecipe.requiredItem[0].SetDefaults(181);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.newRecipe.requiredItem[1].SetDefaults(180);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredItem[2].SetDefaults(331);
      Recipe.newRecipe.requiredItem[2].stack = 8;
      Recipe.newRecipe.requiredItem[3].SetDefaults(210);
      Recipe.newRecipe.requiredItem[3].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].SetDefaults(174);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults(173);
      Recipe.newRecipe.requiredItem[1].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 77;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(119);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredItem[1].SetDefaults(55);
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(120);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(121);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(122);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(217);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(219);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Handgun");
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(231);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 25;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(232);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 35;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(233);
      Recipe.newRecipe.requiredItem[0].SetDefaults(175);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(273);
      Recipe.newRecipe.requiredItem[0].SetDefaults(46);
      Recipe.newRecipe.requiredItem[1].SetDefaults(155);
      Recipe.newRecipe.requiredItem[2].SetDefaults(190);
      Recipe.newRecipe.requiredItem[3].SetDefaults(121);
      Recipe.newRecipe.requiredTile[0] = 26;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(389);
      Recipe.newRecipe.requiredItem[0].SetDefaults(527);
      Recipe.newRecipe.requiredItem[1].SetDefaults(528);
      Recipe.newRecipe.requiredItem[2].SetDefaults(521);
      Recipe.newRecipe.requiredItem[2].stack = 10;
      Recipe.newRecipe.requiredItem[3].SetDefaults(520);
      Recipe.newRecipe.requiredItem[3].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].SetDefaults(364);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Mask");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Hat");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Breastplate");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Leggings");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Drill");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Chainsaw");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Repeater");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Cobalt Sword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(537);
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].SetDefaults(365);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Hat");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Hood");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Chainmail");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Greaves");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Drill");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Chainsaw");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Repeater");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Sword");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mythril Halberd");
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(525);
      Recipe.newRecipe.requiredItem[0].SetDefaults(382);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].SetDefaults(366);
      Recipe.newRecipe.requiredItem[0].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 133;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Helmet");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(402);
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(400);
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Breastplate");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 24;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Leggings");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 18;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Drill");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 18;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Chainsaw");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Repeater");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(482);
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Adamantite Glaive");
      Recipe.newRecipe.requiredItem[0].SetDefaults(391);
      Recipe.newRecipe.requiredItem[0].stack = 12;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(524);
      Recipe.newRecipe.requiredItem[0].SetDefaults(366);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults(221);
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(559);
      Recipe.newRecipe.requiredItem[0].SetDefaults(372);
      Recipe.newRecipe.requiredItem[1].SetDefaults(377);
      Recipe.newRecipe.requiredItem[2].SetDefaults(401);
      Recipe.newRecipe.requiredItem[3].SetDefaults(549);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(558);
      Recipe.newRecipe.requiredItem[0].SetDefaults(371);
      Recipe.newRecipe.requiredItem[1].SetDefaults(376);
      Recipe.newRecipe.requiredItem[2].SetDefaults(400);
      Recipe.newRecipe.requiredItem[3].SetDefaults(549);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(553);
      Recipe.newRecipe.requiredItem[0].SetDefaults(373);
      Recipe.newRecipe.requiredItem[1].SetDefaults(378);
      Recipe.newRecipe.requiredItem[2].SetDefaults(402);
      Recipe.newRecipe.requiredItem[3].SetDefaults(549);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(551);
      Recipe.newRecipe.requiredItem[0].SetDefaults(374);
      Recipe.newRecipe.requiredItem[1].SetDefaults(379);
      Recipe.newRecipe.requiredItem[2].SetDefaults(403);
      Recipe.newRecipe.requiredItem[3].SetDefaults(548);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(552);
      Recipe.newRecipe.requiredItem[0].SetDefaults(375);
      Recipe.newRecipe.requiredItem[1].SetDefaults(380);
      Recipe.newRecipe.requiredItem[2].SetDefaults(404);
      Recipe.newRecipe.requiredItem[3].SetDefaults(547);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(579);
      Recipe.newRecipe.requiredItem[0].SetDefaults(385);
      Recipe.newRecipe.requiredItem[1].SetDefaults(386);
      Recipe.newRecipe.requiredItem[2].SetDefaults(388);
      Recipe.newRecipe.requiredItem[3].SetDefaults(383);
      Recipe.newRecipe.requiredItem[4].SetDefaults(384);
      Recipe.newRecipe.requiredItem[5].SetDefaults(387);
      Recipe.newRecipe.requiredItem[6].SetDefaults(547);
      Recipe.newRecipe.requiredItem[6].stack = 5;
      Recipe.newRecipe.requiredItem[7].SetDefaults(548);
      Recipe.newRecipe.requiredItem[7].stack = 5;
      Recipe.newRecipe.requiredItem[8].SetDefaults(549);
      Recipe.newRecipe.requiredItem[8].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(578);
      Recipe.newRecipe.requiredItem[0].SetDefaults(435);
      Recipe.newRecipe.requiredItem[1].SetDefaults(436);
      Recipe.newRecipe.requiredItem[2].SetDefaults(481);
      Recipe.newRecipe.requiredItem[3].SetDefaults(549);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(368);
      Recipe.newRecipe.requiredItem[0].SetDefaults(483);
      Recipe.newRecipe.requiredItem[1].SetDefaults(484);
      Recipe.newRecipe.requiredItem[2].SetDefaults(482);
      Recipe.newRecipe.requiredItem[3].SetDefaults(548);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(550);
      Recipe.newRecipe.requiredItem[0].SetDefaults(537);
      Recipe.newRecipe.requiredItem[1].SetDefaults(390);
      Recipe.newRecipe.requiredItem[2].SetDefaults(406);
      Recipe.newRecipe.requiredItem[3].SetDefaults(547);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(533);
      Recipe.newRecipe.requiredItem[0].SetDefaults(98);
      Recipe.newRecipe.requiredItem[1].SetDefaults(324);
      Recipe.newRecipe.requiredItem[2].SetDefaults(319);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredItem[3].SetDefaults(548);
      Recipe.newRecipe.requiredItem[3].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(561);
      Recipe.newRecipe.requiredItem[0].SetDefaults(381);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(382);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredItem[2].SetDefaults(520);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredItem[3].SetDefaults(548);
      Recipe.newRecipe.requiredItem[3].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(506);
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredItem[1].SetDefaults(22);
      Recipe.newRecipe.requiredItem[1].stack = 20;
      Recipe.newRecipe.requiredItem[2].SetDefaults(324);
      Recipe.newRecipe.requiredItem[3].SetDefaults(522);
      Recipe.newRecipe.requiredItem[3].stack = 35;
      Recipe.newRecipe.requiredItem[4].SetDefaults(547);
      Recipe.newRecipe.requiredItem[4].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(494);
      Recipe.newRecipe.requiredItem[0].SetDefaults(508);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 25;
      Recipe.newRecipe.requiredItem[2].SetDefaults(521);
      Recipe.newRecipe.requiredItem[2].stack = 15;
      Recipe.newRecipe.requiredItem[3].SetDefaults(19);
      Recipe.newRecipe.requiredItem[3].stack = 15;
      Recipe.newRecipe.requiredItem[4].SetDefaults(549);
      Recipe.newRecipe.requiredItem[4].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(425);
      Recipe.newRecipe.requiredItem[0].SetDefaults(507);
      Recipe.newRecipe.requiredItem[1].SetDefaults(501);
      Recipe.newRecipe.requiredItem[1].stack = 80;
      Recipe.newRecipe.requiredItem[2].SetDefaults(520);
      Recipe.newRecipe.requiredItem[2].stack = 15;
      Recipe.newRecipe.requiredItem[3].SetDefaults(19);
      Recipe.newRecipe.requiredItem[3].stack = 15;
      Recipe.newRecipe.requiredItem[4].SetDefaults(549);
      Recipe.newRecipe.requiredItem[4].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(497);
      Recipe.newRecipe.requiredItem[0].SetDefaults(275);
      Recipe.newRecipe.requiredItem[0].stack = 15;
      Recipe.newRecipe.requiredItem[1].SetDefaults(319);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults(261);
      Recipe.newRecipe.requiredItem[2].stack = 15;
      Recipe.newRecipe.requiredItem[3].SetDefaults(520);
      Recipe.newRecipe.requiredItem[3].stack = 5;
      Recipe.newRecipe.requiredItem[4].SetDefaults(521);
      Recipe.newRecipe.requiredItem[4].stack = 5;
      Recipe.newRecipe.requiredItem[5].SetDefaults(547);
      Recipe.newRecipe.requiredItem[5].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(495);
      Recipe.newRecipe.requiredItem[0].SetDefaults(502);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults(526);
      Recipe.newRecipe.requiredItem[1].stack = 4;
      Recipe.newRecipe.requiredItem[2].SetDefaults(501);
      Recipe.newRecipe.requiredItem[2].stack = 60;
      Recipe.newRecipe.requiredItem[3].SetDefaults(520);
      Recipe.newRecipe.requiredItem[3].stack = 10;
      Recipe.newRecipe.requiredItem[4].SetDefaults(549);
      Recipe.newRecipe.requiredItem[4].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(493);
      Recipe.newRecipe.requiredItem[0].SetDefaults(320);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(575);
      Recipe.newRecipe.requiredItem[1].stack = 25;
      Recipe.newRecipe.requiredItem[2].SetDefaults(520);
      Recipe.newRecipe.requiredItem[2].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(492);
      Recipe.newRecipe.requiredItem[0].SetDefaults(320);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(575);
      Recipe.newRecipe.requiredItem[1].stack = 25;
      Recipe.newRecipe.requiredItem[2].SetDefaults(521);
      Recipe.newRecipe.requiredItem[2].stack = 30;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(394);
      Recipe.newRecipe.requiredItem[0].SetDefaults(187);
      Recipe.newRecipe.requiredItem[1].SetDefaults(268);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(395);
      Recipe.newRecipe.requiredItem[0].SetDefaults(17);
      Recipe.newRecipe.requiredItem[1].SetDefaults(18);
      Recipe.newRecipe.requiredItem[2].SetDefaults(393);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(396);
      Recipe.newRecipe.requiredItem[0].SetDefaults(158);
      Recipe.newRecipe.requiredItem[1].SetDefaults(193);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(397);
      Recipe.newRecipe.requiredItem[0].SetDefaults(156);
      Recipe.newRecipe.requiredItem[1].SetDefaults(193);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(399);
      Recipe.newRecipe.requiredItem[0].SetDefaults(53);
      Recipe.newRecipe.requiredItem[1].SetDefaults(159);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(405);
      Recipe.newRecipe.requiredItem[0].SetDefaults(54);
      Recipe.newRecipe.requiredItem[1].SetDefaults(128);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(555);
      Recipe.newRecipe.requiredItem[0].SetDefaults(223);
      Recipe.newRecipe.requiredItem[1].SetDefaults(189);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(511);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[1].SetDefaults(530);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(512);
      Recipe.newRecipe.requiredItem[0].SetDefaults(26);
      Recipe.newRecipe.requiredItem[0].stack = 4;
      Recipe.newRecipe.requiredItem[1].SetDefaults(530);
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(580);
      Recipe.newRecipe.requiredItem[0].SetDefaults(167);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wire");
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(581);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wire");
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(582);
      Recipe.newRecipe.requiredItem[0].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults("Wire");
      Recipe.newRecipe.requiredItem[1].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(583);
      Recipe.newRecipe.requiredItem[0].SetDefaults(17);
      Recipe.newRecipe.requiredItem[1].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Wire");
      Recipe.newRecipe.requiredItem[2].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(584);
      Recipe.newRecipe.requiredItem[0].SetDefaults(16);
      Recipe.newRecipe.requiredItem[1].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Wire");
      Recipe.newRecipe.requiredItem[2].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(585);
      Recipe.newRecipe.requiredItem[0].SetDefaults(15);
      Recipe.newRecipe.requiredItem[1].SetDefaults("Iron Bar");
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults("Wire");
      Recipe.newRecipe.requiredItem[2].stack = 1;
      Recipe.newRecipe.requiredTile[0] = 16;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(540);
      Recipe.newRecipe.requiredItem[0].SetDefaults(3);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(565);
      Recipe.newRecipe.requiredItem[0].SetDefaults(562);
      Recipe.newRecipe.requiredItem[1].SetDefaults(563);
      Recipe.newRecipe.requiredItem[2].SetDefaults(564);
      Recipe.newRecipe.requiredItem[3].SetDefaults(566);
      Recipe.newRecipe.requiredItem[4].SetDefaults(567);
      Recipe.newRecipe.requiredItem[5].SetDefaults(568);
      Recipe.newRecipe.requiredItem[6].SetDefaults(569);
      Recipe.newRecipe.requiredItem[7].SetDefaults(570);
      Recipe.newRecipe.requiredItem[8].SetDefaults(571);
      Recipe.newRecipe.requiredItem[9].SetDefaults(572);
      Recipe.newRecipe.requiredItem[10].SetDefaults(573);
      Recipe.newRecipe.requiredItem[11].SetDefaults(574);
      Recipe.newRecipe.requiredTile[0] = 114;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Depth Meter");
      Recipe.newRecipe.requiredItem[0].SetDefaults(20);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.newRecipe.requiredItem[1].SetDefaults(21);
      Recipe.newRecipe.requiredItem[1].stack = 8;
      Recipe.newRecipe.requiredItem[2].SetDefaults(19);
      Recipe.newRecipe.requiredItem[2].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 14;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(193);
      Recipe.newRecipe.requiredItem[0].SetDefaults(173);
      Recipe.newRecipe.requiredItem[0].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(518);
      Recipe.newRecipe.requiredItem[0].SetDefaults(531);
      Recipe.newRecipe.requiredItem[1].SetDefaults(502);
      Recipe.newRecipe.requiredItem[1].stack = 30;
      Recipe.newRecipe.requiredItem[2].SetDefaults(520);
      Recipe.newRecipe.requiredItem[2].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 101;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(519);
      Recipe.newRecipe.requiredItem[0].SetDefaults(531);
      Recipe.newRecipe.requiredItem[1].SetDefaults(522);
      Recipe.newRecipe.requiredItem[1].stack = 30;
      Recipe.newRecipe.requiredItem[2].SetDefaults(521);
      Recipe.newRecipe.requiredItem[2].stack = 20;
      Recipe.newRecipe.requiredTile[0] = 101;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Goggles");
      Recipe.newRecipe.requiredItem[0].SetDefaults(38);
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(266);
      Recipe.newRecipe.requiredItem[0].SetDefaults(324);
      Recipe.newRecipe.requiredItem[1].SetDefaults(323);
      Recipe.newRecipe.requiredItem[1].stack = 10;
      Recipe.newRecipe.requiredItem[2].SetDefaults(180);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 17;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Sunglasses");
      Recipe.newRecipe.requiredItem[0].SetDefaults("Black Lens");
      Recipe.newRecipe.requiredItem[0].stack = 2;
      Recipe.newRecipe.requiredTile[0] = 18;
      Recipe.newRecipe.requiredTile[1] = 15;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults("Mana Crystal");
      Recipe.newRecipe.requiredItem[0].SetDefaults(75);
      Recipe.newRecipe.requiredItem[0].stack = 10;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(43);
      Recipe.newRecipe.requiredItem[0].SetDefaults(38);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredTile[0] = 26;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(70);
      Recipe.newRecipe.requiredItem[0].SetDefaults(67);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults(68);
      Recipe.newRecipe.requiredItem[1].stack = 15;
      Recipe.newRecipe.requiredTile[0] = 26;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(560);
      Recipe.newRecipe.requiredItem[0].SetDefaults(23);
      Recipe.newRecipe.requiredItem[0].stack = 99;
      Recipe.newRecipe.requiredItem[1].SetDefaults(264);
      Recipe.newRecipe.requiredTile[0] = 26;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(544);
      Recipe.newRecipe.requiredItem[0].SetDefaults(38);
      Recipe.newRecipe.requiredItem[0].stack = 3;
      Recipe.newRecipe.requiredItem[1].SetDefaults(20);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults(22);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredItem[3].SetDefaults(520);
      Recipe.newRecipe.requiredItem[3].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(556);
      Recipe.newRecipe.requiredItem[0].SetDefaults(68);
      Recipe.newRecipe.requiredItem[0].stack = 6;
      Recipe.newRecipe.requiredItem[1].SetDefaults(20);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults(22);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredItem[3].SetDefaults(521);
      Recipe.newRecipe.requiredItem[3].stack = 7;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(557);
      Recipe.newRecipe.requiredItem[0].SetDefaults(154);
      Recipe.newRecipe.requiredItem[0].stack = 30;
      Recipe.newRecipe.requiredItem[1].SetDefaults(20);
      Recipe.newRecipe.requiredItem[1].stack = 5;
      Recipe.newRecipe.requiredItem[2].SetDefaults(22);
      Recipe.newRecipe.requiredItem[2].stack = 5;
      Recipe.newRecipe.requiredItem[3].SetDefaults(520);
      Recipe.newRecipe.requiredItem[3].stack = 5;
      Recipe.newRecipe.requiredItem[4].SetDefaults(521);
      Recipe.newRecipe.requiredItem[4].stack = 5;
      Recipe.newRecipe.requiredTile[0] = 134;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(71);
      Recipe.newRecipe.createItem.stack = 100;
      Recipe.newRecipe.requiredItem[0].SetDefaults(72);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(72);
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults(71);
      Recipe.newRecipe.requiredItem[0].stack = 100;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(72);
      Recipe.newRecipe.createItem.stack = 100;
      Recipe.newRecipe.requiredItem[0].SetDefaults(73);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(73);
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults(72);
      Recipe.newRecipe.requiredItem[0].stack = 100;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(73);
      Recipe.newRecipe.createItem.stack = 100;
      Recipe.newRecipe.requiredItem[0].SetDefaults(74);
      Recipe.newRecipe.requiredItem[0].stack = 1;
      Recipe.addRecipe();
      Recipe.newRecipe.createItem.SetDefaults(74);
      Recipe.newRecipe.createItem.stack = 1;
      Recipe.newRecipe.requiredItem[0].SetDefaults(73);
      Recipe.newRecipe.requiredItem[0].stack = 100;
      Recipe.addRecipe();
      for (int index1 = 0; index1 < Recipe.numRecipes; ++index1)
      {
        for (int index2 = 0; Main.recipe[index1].requiredItem[index2].type > 0; ++index2)
          Main.recipe[index1].requiredItem[index2].checkMat();
        Main.recipe[index1].createItem.checkMat();
      }
    }

    private static void addRecipe()
    {
      Main.recipe[Recipe.numRecipes] = Recipe.newRecipe;
      Recipe.newRecipe = new Recipe();
      ++Recipe.numRecipes;
    }
  }
}
